//
//  NSObject+HUD.h
//  INMOTION
//
//  Created by 孙凯旋 on 14-9-24.
//  Copyright (c) 2014年 Inmotion. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface NSObject (HUD)

- (void)showSuccessHUDWithText:(NSString *)text;

- (void)showErrorHUDWithText:(NSString *)text;

- (void)showProgressHUDWithText:(NSString *)text;

- (void)showProgressHUDWithText:(NSString *)text andProgress:(CGFloat)progress;

//
- (void)showSuccessHUDWithText:(NSString *)text fullScreen:(BOOL)fullScreen;

- (void)showErrorHUDWithText:(NSString *)text fullScreen:(BOOL)fullScreen;

- (void)showProgressHUDWithText:(NSString *)text fullScreen:(BOOL)fullScreen;

- (void)showProgressHUDWithText:(NSString *)text andProgress:(CGFloat)progress fullScreen:(BOOL)fullScreen;
//

- (void)dismissHUD;

@end
